//
//  Bank.m
//  NiuBanGold
//
//  Created by Billy on 15/11/26.
//  Copyright © 2015年 zzjr. All rights reserved.
//

#import "Bank.h"

@implementation Bank

- (instancetype)initWithAttributes:(NSDictionary *)attributesDic  {
    
    self = [super init];
    
    if (self) {
        
        self.bank_dayAmt = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"dayAmt"]];
        self.bank_imgUrl  = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"logoUrl"]];
        self.bank_monthAmt = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"monthAmt"]];
        self.bank_name = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"name"]];
        self.bank_singleAmt = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"singleAmt"]];
        self.bank_id = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"id"]];
    }
    
    return self;
}

@end
